package StringExample;

public class StringDemo {
    public static void main(String[] args) {
        String str = "Hello World";
        System.out.println(str.toLowerCase());
        System.out.println(str.toUpperCase());
        System.out.println(str.substring(2));
        System.out.println(str.substring(2,8));
    }
}
